Legacy GLSL compatibility method.
Takes a uniform or push constant variable and flattens it into a (i|u)vec4 arrayN; array instead.
For this to work, all types in the block must be the same basic type, e.g. mixing vec2 and vec4 is fine, but
mixing int and float is not.
The name of the uniform array will be the same as the interface block name.
Legacy GLSL compatibility method. Takes a uniform or push constant variable and flattens it into a (i|u)vec4 arrayN; array instead. For this to work, all types in the block must be the same basic type, e.g. mixing vec2 and vec4 is fine, but mixing int and float is not. The name of the uniform array will be the same as the interface block name.